const express = require('express');
const router = express.Router();
const { create, remove, getCounts } = require('../controllers/followController');
const authMiddleware = require('../middlewares/authMiddleware');

// 关注相关接口
router.post('/:userid', authMiddleware, create);
router.delete('/:userid', authMiddleware, remove);
router.get('/counts', authMiddleware, getCounts);

module.exports = router;